<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
    template="admin/admin-template.xhtml">  
   <h:outputStylesheet>
        .ecol1 {
        vertical-align: top;
        padding-right: 25px
        }
 
        .ecol2 {
        vertical-align: top;
        border-left: #ACBECE 1px solid;
        padding-left: 10px
        }
 
        .rich-calendar-tool-btn {
        font-family: Arial, Verdana;
        }
    </h:outputStylesheet>
	<ui:define name="title">Administration | Add User</ui:define>
	<ui:define name="body">
		<div id="administration_main">
		<h1>Администрация <span>: Добави Потребител</span></h1>
		<div class="notesForm">
			<p>- Полетата започващи с <span>*</span>, са задължителни !</p>
		</div>
		<h:form>
       	<rich:panel id="adduserPan">
            <f:facet name="header">
                <h:outputText value="Потребителска информация" />
            </f:facet>
            <table>
            	<tr>
            		<td><span>*</span> Име на потребител</td>
            		<td><h:inputText value="" /> </td>
            	</tr>
            	<tr>
            		<td>Презиме на потребител</td>
            		<td><h:inputText value="" /> </td>
            	</tr>
            	<tr>
            		<td><span>*</span> Фамилия на потребител</td>
            		<td><h:inputText value="" /> </td>
            	</tr>
            	<tr>
            		<td><span>*</span> Дата на раждане</td>
            		<td>
                    <rich:calendar value="#{calendarBean.selectedDate}"
                        locale="#{calendarBean.locale}"
                        popup="true"
                        datePattern="#{calendarBean.pattern}"
                        cellWidth="24px" cellHeight="22px" style="width:200px;" />
            		</td>
            	</tr>
            	<tr>
            		<td><span>*</span> Email</td>
            		<td><h:inputText value="" /> </td>
            	</tr>
            	<tr>
            		<td><span>*</span> Адрес </td>
            		<td><h:inputText value="" /> </td>
            	</tr>
            	<tr>
            		<td><span>*</span> Град</td>
            		<td><h:inputText value="" /> </td>
            	</tr>
            	<tr>
            		<td><span>*</span> Страна </td>
            		<td><h:inputText value="" /> </td>
            	</tr>
           		 <tr>
            		<td>Телефон</td>
            		<td><h:inputText value="" /> </td>
            	</tr>
            </table>
  	      </rich:panel>
    		<rich:panel id="adduserPan2">
            <f:facet name="header">
                <h:outputText value="Акаунт" />
            </f:facet>
					<table>
            	<tr>
            		<td class="sF"><span>*</span> Потребителско име</td>
            		<td><h:inputText value="" /> </td>
            	</tr>
            	<tr>
            		<td class="sF"><span>*</span> Парола</td>
            		<td><h:inputSecret value="" /> </td>
            	</tr>   			
       			<tr>
            		<td class="sF"><span>*</span> Потвърди парола</td>
            		<td><h:inputSecret value="Ok" /> </td>
            	</tr> 
            	<tr>
            		<td class="sF"><span>*</span> Потвърди парола</td>
            		<td>
            		<h:selectOneMenu id="subscriptions" value="">
  					 <f:selectItem id="item1" itemLabel="Администратор" itemValue="a" />
 					 <f:selectItem id="item2" itemLabel="Атестиращ служител" itemValue="b" />
 					 <f:selectItem id="item3" itemLabel="Атестиран служител" itemValue="c" />
					</h:selectOneMenu>
            		 </td>
            	</tr> 
            	</table>
            	</rich:panel>
            	<a4j:commandButton styleClass="btnSubmitUserAdd" value="Създай потребител" type="button"  />
		</h:form>
		
		</div>
	</ui:define>
</ui:composition>

